
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>导购劳动合同管理</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
   
    </style>

</head>

<body class="white-bg" style="padding: 3px;">
    <div class="page-heade">
       <h2 class="title_color text-center">导购劳动合同管理</h2>
    </div>
    <form action="" class="form-inline" id="form1">
        <table class="table table-bordered bud_hei">
            <tr>
                <td colspan="9"><a href="javascript:;" class="btn btn-sm btn-primary" id="addnewht">添加合同</a><span class="lr_5"></span><a href="{:url('Other/laborcontractalizeguide')}" class="btn btn-sm btn-info">劳动合同分析</a><span class="lr_5"></span><a href="{:url('Other/laborcontractalizeguide')}" class="btn btn-sm btn-info">不需要签劳动合同的导购人员</a><span class="lr_5"></span><a href="{:url('Other/ldhtlend')}" class="btn btn-sm btn-info J_menuItem">劳动合同导入</a><span class="lr_5 colorRed" style="float: right;">注：未来两个月内即将到期劳动合同(请点击)。</span></td>
            </tr>
            <tr>
              <td>模糊查询：</td>
              <td>索引：</td>
              <td><input type="text" class="form-control" name=""></td>
              <td>甲方：</td>
              <td><input type="text" class="form-control" name=""></td>
              <td>乙方：</td>
              <td><input type="text" class="form-control" name=""></td>
              <td>网点：</td>
              <td><input type="text" class="form-control" name=""></td>
            </tr>
            <tr>
               <td colspan="9" class="text-center">
                <button class="btn-sm btn-info btn">查询</button><span class="lr_5"></span><button class="btn-sm btn-info btn" type="reset" id="reset">清空查询条件</button><span class="lr_5"></span><a href="javascript:;" class="btn btn-info btn-sm">导出Excel</a>
              </td>
            </tr>
        </table>
</form>
    <table class="table table-striped table-bordered table-hover bud_hei text-center">
        <tr class="info">
            <th class="text-center">No.</th>
            <th class="text-center">索引</th>
            <th class="text-center">乙方姓名</th>
            <th class="text-center">岗位类型</th>
            <th class="text-center">甲方名称</th>
            <th class="text-center">乙方所属网点名称</th>
            <th class="text-center">合同起始日</th>
            <th class="text-center">合同到期日</th>
            <th class="text-center">签署<br>次数</th>
            <th class="text-center">已返回<br>合同</th>
            <th class="text-center">状态</th>
            <th class="text-center">操作</th>
        </tr>
        <tbody style="border: 0">
            <tr>
                <td>1</td>
                <td></td>
                <td>阿铭</td>
                <td>专职</td>
                <td></td>
                <td class="text-left"><a href="javascript:;">万家中六分店</a></td>
                <td></td>
                <td></td>
                <td>1</td>
                <td>x</td>
                <td>在职</td>
                <td><a href="javascript:;" class="modify">修改</a>&nbsp;<a href="javascript:;" class="delthis">删除</a></td>
            </tr>
             <tr>
                <td>2</td>
                <td></td>
                <td>阿铭</td>
                <td>专职</td>
                <td></td>
                <td class="text-left"><a href="javascript:;">万家中六分店</a></td>
                <td></td>
                <td></td>
                <td>1</td>
                <td>x</td>
                <td>在职</td>
                <td><a href="javascript:;" class="modify">修改</a>&nbsp;<a href="javascript:;" class="delthis">删除</a></td>
            </tr>
             <tr>
                <td>3</td>
                <td></td>
                <td>阿铭</td>
                <td>专职</td>
                <td></td>
                <td class="text-left"><a href="javascript:;">万家中六分店</a></td>
                <td></td>
                <td></td>
                <td>1</td>
                <td>x</td>
                <td>在职</td>
                <td><a href="javascript:;" class="modify">修改</a>&nbsp;<a href="javascript:;" class="delthis">删除</a></td>
            </tr>
    </tbody>
    </table>
    <h5 class="text-center"  style="font-size: 13px;font-weight: 500">
                    总共有12条记录，第1/2页,当前页<input id="page" type="text"  style="width: 40px" value="1"/><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp;
                    每页显示
                    <select id="pagesize">
                        <option value='10' selected>10条</option>
                        <option value='15'>15条</option>
                        <option value='20'>20条</option>

                    </select>
                </h5>


<div id="addlaborcontractDiv" class="ibox-content" style="display: none;">
    <form action="" class="form-inline">
        <table class="table table-bordered">
            <tr>
                <td style="width: 140px" class="text-center">索引<span class="colorRed">*</span></td>
                <td colspan="3"><input type="text" class="form-control" name=""></td>
            </tr>
            <tr>
              <td class="text-center">合同名称<span class="colorRed">*</span></td>
              <td colspan="3"><input type="text" class="form-control" name=""></td>
            </tr>
            <tr>
              <td class="text-center">甲方名称<span class="colorRed">*</span></td>
              <td>
                <select name="" id="" class="form-control select">
                    <option value="0">请选择</option>
                    <option value="1">广州销路通软件公司</option>
                    <option value="2">A公司</option>
                    <option value="3">测试甲方名称</option>
                    <option value="4">B公司</option>
                </select>
              </td>
              <td class="text-center">乙方名称<span class="colorRed">*</span></td>
              <td>
                 <div class="input-group">
                            <input id="area_id" type="text" placeholder="请输入关键字或空格查询"
                                   class="form-control" value="" style="min-width: 200px;width: 200px">
                            <div class="input-group-btn">
                                <ul class="dropdown-menu dropdown-menu-right" role="menu">
                                </ul>
                            </div>
                        </div>
                    <a href="javascript:;" id="select_area" class="btn btn-primary btn-sm">选择</a>

              </td>
            </tr>
            <tr>
              <td class="text-center">合同起始日<span class="colorRed">*</span></td>
              <td>  <input type="text" id="start" class="form-control layer-date " style="min-width:160px;width:160px;display: inline-block;" name=""></td>
              <td class="text-center">合同到期日<span class="colorRed">*</span></td>
              <td>  <input type="text" id="end" class="form-control layer-date " style="min-width:160px;width:160px;display: inline-block;" name=""></td>
            </tr>
            <tr>
              <td class="text-center">签署次数</td>
              <td><input type="text" class="form-control" name="" style="width: 40px;background-color: #efffff;"><a href="javascript:;">查询</a><span class="font-bold">(请点击查询按钮获取本次签署次数)</span></td>
              <td class="text-center">已返回合同</td>
              <td>
                <label for="fhconstracty">
                    <input type="radio" name="fhconstract" id="fhconstracty" value="0">√
                </label>
                <label for="fhconstractn">
                    <input type="radio" name="fhconstract" id="fhconstractn" value="1">×
                </label>
              </td>
            </tr>
            <tr>
              <td class="text-center">工作地点</td>
              <td><input type="text" class="form-control" name=""></td>
              <td class="text-center">合同性质</td>
              <td>
                <select name="" id="" class="form-control select">
                    <option value="0">请选择</option>
                    <option value="1">8小时工作制</option>
                    <option value="2">不定时工作制</option>
                    <option value="3">综合工时</option>
                </select>
              </td>
            </tr>
            <tr>
              <td class="text-center">合同通讯地址</td>
              <td colspan="3"><input type="text" class="form-control" style="width: 60%"></td>
            </tr>
            <tr>
              <td class="text-center">备注</td>
              <td colspan="3"><textarea name="" id="" style="width: 70%;height: 60px;resize: none;" class="form-control"></textarea></td>
            </tr>
        </table>
    </form>
</div>

<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
 <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
 <script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script>

  <script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
    
 $("#addnewht").click(function(){
     layer.open({
                           type: 1,
                           title: '添加新合同',
                           area: ['900px', '600px'],
                           fixed: false, //不固定
                           maxmin: true,
                           btn:["提交","返回"],
                           content: $('#addlaborcontractDiv')
                        /*   yes: function (i, o) {
                               var param = $('#form1').serialize()
                           $.post('/index/workflowdb/ysfy_cg.html', param, function (data) {
                               if (data.success) {
                                   swal({title: data.msg}, function () {
                                       layer.close(i)
                                       location.reload()
                                   })
                               } else {
                                   swal(data.msg)
                               }
                           }, 'json')
                       }
*/
                    });


 })
/*职员年假重新计算*/
$("#staffnjcount").click(function(){
    swal({ 
          title: "", 
          text: "确定重新计算年假，将所有年假已支取天数将归零吗？", 
          type: "warning",
          showCancelButton: true, 
          confirmButtonColor: "#DD6B55",
          confirmButtonText: "确定！", 
          closeOnConfirm: false
      },
      function(){
        swal("", "", "success"); 
      });
})
  $(document).ready(function () {
        $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })

       
    })   

/*返回*/
    $('#fanhui').on('click',function () {
                   // parent.layer.close(parent.layer.getFrameIndex(window.name))
                   location.reload();
                    return false
                })
/*修改*/
$(document).on("click",".modify",function(){
    layer.open({
                           type: 1,
                           title: '修改职员年假',
                           area: ['900px', '600px'],
                           fixed: false, //不固定
                           maxmin: true,
                           content: $('#addtrainplanDiv')
                        /*   yes: function (i, o) {
                               var param = $('#form1').serialize()
                           $.post('/index/workflowdb/ysfy_cg.html', param, function (data) {
                               if (data.success) {
                                   swal({title: data.msg}, function () {
                                       layer.close(i)
                                       location.reload()
                                   })
                               } else {
                                   swal(data.msg)
                               }
                           }, 'json')
                       }
*/
                    });

})
/*删除*/

      $(document).on("click",".delthis",function(){
      swal({ 
          title: "确定此操作吗？", 
          text: "", 
          type: "warning",
          showCancelButton: true, 
          confirmButtonColor: "#DD6B55",
          confirmButtonText: "确定！", 
          closeOnConfirm: false
      },
      function(){
        swal("", "", "success"); 
      });
})
 
</script>
</body>

</html>